package com.tianqu.tms.core.webservice.weichat.api;

import java.util.HashMap;
import java.util.Map;

import com.tianqu.tms.core.util.TempletUtil;

public class MobileMessage {
	private Map<String, String> context = new HashMap<String, String>();
	private String message;
	public Map<String, String> getContext() {
		return context;
	}
	public void setContext(Map<String, String> context) {
		this.context = context;
	}
	public String getMessage() {
		return TempletUtil.render(message, context);
	}
	
	public void setMessage(String message) {
		this.message = message;
	}
	
	public void putValue(String k,String v){
		context.put(k, v);
	}
	
}
